/**
 * Author:yuiop
 * Date:2022/8/5 17:15
 */
package com.devops.constant;

public enum DOSRoleEnum {
    SUPER_ADMINISTRATOR(1,"超级管理员","superAdministrator"),
    ADMINISTRATOR(2,"管理员","administrator"),
    TECHNOLOGY_MANAGER(3,"技术经理" ,"technologyManager"),
    QA_ADMINISTRATOR(2,"质量测试管理", "qaAdministrator"),
    WEB_MANAGER(3,"前端技术经理","webManager"),
    JAVA_ENGINEER(4,"JAVA开发工程师","javaEngineer"),
    WEB_ENGINEER(4,"WEB开发工程师","webEngineer"),
    QA_ENGINEER(4,"质量测试工程师","qaEngineer");

    private String roleName;
    private Integer roleLevel;
    private String roleCode;

    DOSRoleEnum(Integer roleLevel,String roleName,String roleCode) {
        this.roleName = roleName;
        this.roleLevel = roleLevel;
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleLevel() {
        return roleLevel;
    }

    public void setRoleLevel(Integer roleLevel) {
        this.roleLevel = roleLevel;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    @Override
    public String toString() {
        return "DOSRoleEnum{" +
                "roleName='" + roleName + '\'' +
                ", roleLevel=" + roleLevel + '\'' +
                ", roleCode=" + roleCode +
                '}';
    }


}
